\hypertarget{structapdu__res__struct}{\section{apdu\-\_\-res\-\_\-struct Struct Reference}
\label{structapdu__res__struct}\index{apdu\-\_\-res\-\_\-struct@{apdu\-\_\-res\-\_\-struct}}
}


structure of A\-P\-D\-U resources  




{\ttfamily \#include $<$pintaros.\-h$>$}

\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structapdu__res__struct_a8b56b308185f6f4d67a9e71eeecbb2a4}{\hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} \hyperlink{structapdu__res__struct_a8b56b308185f6f4d67a9e71eeecbb2a4}{C\-L\-A}}\label{structapdu__res__struct_a8b56b308185f6f4d67a9e71eeecbb2a4}

\begin{DoxyCompactList}\small\item\em Class of instruction. \end{DoxyCompactList}\item 
\hypertarget{structapdu__res__struct_a45e72c0350687c473e0184cc97898011}{\hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} \hyperlink{structapdu__res__struct_a45e72c0350687c473e0184cc97898011}{I\-N\-S}}\label{structapdu__res__struct_a45e72c0350687c473e0184cc97898011}

\begin{DoxyCompactList}\small\item\em Instruction code. \end{DoxyCompactList}\item 
\hypertarget{structapdu__res__struct_ac2bd2f173dec33aedefe14b9abab4102}{\hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} \hyperlink{structapdu__res__struct_ac2bd2f173dec33aedefe14b9abab4102}{P1}}\label{structapdu__res__struct_ac2bd2f173dec33aedefe14b9abab4102}

\begin{DoxyCompactList}\small\item\em Parameter 1. \end{DoxyCompactList}\item 
\hypertarget{structapdu__res__struct_a912708c4d4b304affb4c0e4b95d653cb}{\hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} \hyperlink{structapdu__res__struct_a912708c4d4b304affb4c0e4b95d653cb}{P2}}\label{structapdu__res__struct_a912708c4d4b304affb4c0e4b95d653cb}

\begin{DoxyCompactList}\small\item\em Parameter 2. \end{DoxyCompactList}\item 
\hypertarget{structapdu__res__struct_ab8309a32a5fa2c72b476076952b2c5c1}{\hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} \hyperlink{structapdu__res__struct_ab8309a32a5fa2c72b476076952b2c5c1}{cmd\-\_\-data} \mbox{[}\hyperlink{pintaros_8h_a87f68e96fb938eddc39ad1f19d923a96}{M\-A\-X\-\_\-\-D\-A\-T\-A\-\_\-\-S\-I\-Z\-E}\mbox{]}}\label{structapdu__res__struct_ab8309a32a5fa2c72b476076952b2c5c1}

\begin{DoxyCompactList}\small\item\em buffer for command data \end{DoxyCompactList}\item 
\hypertarget{structapdu__res__struct_a95938a3507dd509b9521dadf4b19c689}{int \hyperlink{structapdu__res__struct_a95938a3507dd509b9521dadf4b19c689}{cmd\-\_\-data\-\_\-len}}\label{structapdu__res__struct_a95938a3507dd509b9521dadf4b19c689}

\begin{DoxyCompactList}\small\item\em length of command data \end{DoxyCompactList}\item 
\hypertarget{structapdu__res__struct_a3b57ed648d723bd33661b8c9738a8ad3}{\hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} \hyperlink{structapdu__res__struct_a3b57ed648d723bd33661b8c9738a8ad3}{rsp\-\_\-data} \mbox{[}\hyperlink{pintaros_8h_a87f68e96fb938eddc39ad1f19d923a96}{M\-A\-X\-\_\-\-D\-A\-T\-A\-\_\-\-S\-I\-Z\-E}\mbox{]}}\label{structapdu__res__struct_a3b57ed648d723bd33661b8c9738a8ad3}

\begin{DoxyCompactList}\small\item\em buffer for response data \end{DoxyCompactList}\item 
\hypertarget{structapdu__res__struct_abea1e2327c56e7705b0a4d845392e6df}{int \hyperlink{structapdu__res__struct_abea1e2327c56e7705b0a4d845392e6df}{rsp\-\_\-data\-\_\-len}}\label{structapdu__res__struct_abea1e2327c56e7705b0a4d845392e6df}

\begin{DoxyCompactList}\small\item\em length of response data \end{DoxyCompactList}\item 
\hypertarget{structapdu__res__struct_aac5dc6f8e75db39295f3f7360510db28}{\hyperlink{response_8h_a0b9384277369e8c36725467bb40194d8}{rspn\-\_\-type} \hyperlink{structapdu__res__struct_aac5dc6f8e75db39295f3f7360510db28}{rspn}}\label{structapdu__res__struct_aac5dc6f8e75db39295f3f7360510db28}

\begin{DoxyCompactList}\small\item\em response type code \end{DoxyCompactList}\item 
\hypertarget{structapdu__res__struct_a63dd56dfbd4de17b7c2240b452265fde}{\hyperlink{pintaros_8h_aaf0f0cca584c8202c7ee0f4a368bdd50}{uint8\-\_\-t} \hyperlink{structapdu__res__struct_a63dd56dfbd4de17b7c2240b452265fde}{rsp\-\_\-xtra\-\_\-param}}\label{structapdu__res__struct_a63dd56dfbd4de17b7c2240b452265fde}

\begin{DoxyCompactList}\small\item\em extra parameter for response (S\-W2) if needed \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
structure of A\-P\-D\-U resources 

The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
include/\hyperlink{pintaros_8h}{pintaros.\-h}\end{DoxyCompactItemize}
